package cvo.chess.client.entities.armies;

import cvo.chess.client.entities.IGameFacade;
import cvo.chess.client.entities.armies.pieces.Knight;
import cvo.chess.client.entities.armies.pieces.Pawn;
import cvo.chess.client.entities.armies.pieces.Queen;
import cvo.chess.client.entities.armies.pieces.King;
import cvo.chess.client.entities.armies.pieces.Rook;
import cvo.chess.client.entities.armies.pieces.Bishop;
import cvo.chess.client.entities.game.Army;

public class WhiteArmy extends Army {

	public WhiteArmy(IGameFacade gf) {
		super(gf);
	}

	@Override
	protected void placePiecesOnBoard() throws Exception {
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("A2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("B2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("C2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("D2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("E2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("F2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("G2"));
		placePieceOnBoard(new Pawn(this.gf, this, "pawn_white"), createCoordinate("H2"));
		placePieceOnBoard(new Rook(this.gf, this, "rook_white"), createCoordinate("A1"));
		placePieceOnBoard(new Knight(this.gf, this, "knight_white"), createCoordinate("B1"));
		placePieceOnBoard(new Bishop(this.gf, this, "bishop_white"), createCoordinate("C1"));
		placePieceOnBoard(new King(this.gf, this, "king_white"), createCoordinate("D1"));
		placePieceOnBoard(new Queen(this.gf, this, "queen_white"), createCoordinate("E1"));
		placePieceOnBoard(new Bishop(this.gf, this, "bishop_white"), createCoordinate("F1"));
		placePieceOnBoard(new Knight(this.gf, this, "knight_white"), createCoordinate("G1"));
		placePieceOnBoard(new Rook(this.gf, this, "rook_white"), createCoordinate("H1"));
	}

	@Override
	public String getColor() {
		// TODO Auto-generated method stub
		return "WHITE";
	}

}
